package com.ruoyi.system.controller;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.service.IAidUidService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/aiduid")
public class AidUidController {
    @Autowired
    private IAidUidService aidUidService;

    @RequestMapping("getaid")
    public R getAid(Integer uid){
        return R.ok(aidUidService.getAid(uid));
    }



}
